package com.poc.party.vo.annotation;

import com.meta.common.ConstDef;
import com.meta.nd.annotation.bo.FdDef;
import com.meta.nd.annotation.bo.NdDef;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@NdDef(ConstDef.ND_CODE_PARTY_ND)
public class PartyBO {
    long id;
    @FdDef("partyCode")
    String partyCode;
    @FdDef("partyName")
    String partyName;
    @FdDef("birthday")
    Date birthday;
    @FdDef("gender")
    String gender;
    @FdDef("certType")
    String certType;
    @FdDef("certId")
    String certId;
    @FdDef("address")
    String address;
    @FdDef("postCode")
    String postCode;
    @FdDef("telNo")
    String phoneNo;
    @FdDef("mobileNo")
    String mobileNo;
    @FdDef("contact")
    String contact;
    @FdDef("contactMobileNo")
    String contactMobileNo;
    @FdDef("vipType")
    String vipType;
    @FdDef("createDate")
    Date createDate;
    @FdDef("branch")
    String branch;
    @FdDef(ndName = "accountNd")
    List<PartyAccountBO> partyAccounts = new ArrayList<PartyAccountBO>();
}
